Scripting Languages/ Introduction to scripting languages

Introduction to scripting languages

 

Scripting languages (or macro languages) can be used for the following tasks:

  • Create and edit geometric and other objects through a command line interface.
  • Expand and customize the user interface. For example, you can create a slider, which controls the bone angle of a skeleton.
  • Write custom material effects for photorealistic rendering.
  • Define constraints between objects. For example, the position of an object can be defined as a function of two other objects.
  • Create intelligent behavioral animations in which procedures written in macro languages control how objects behave.
  • Expression evaluation. The numeric interface for creating and modifying objects, for example, allows you to use expressions to define properties for objects. When creating a sphere, you can fetch information from other objects using expressions like (sphere1.center.x + sphere2.center.y)/2.0.

 
The structure of Realsoft 3D is 'object oriented'. Correspondingly, scripts written by the user are always associated with some sort of an object.